<h1>Step 2: Setup System</h1>
<?php foreach ($paths as $directory => $path): ?>

    <div class="row">
        <label>Check "<?php echo $directory; ?>" is exist.</label>
        <?php if ($this->isPathExist($path)): ?>
            <span class="ok">OK</span>
        <?php else: ?>
            <span class="fail">FAIL</span>
        <?php endif; ?>
    </div>

    <div class="row">
        <label>Check "<?php echo $directory; ?>" is writable.</label>
        <?php if ($this->isPathWritable($path)): ?>
            <span class="ok">OK</span>
        <?php else: ?>
            <span class="fail">FAIL</span>
        <?php endif; ?>
    </div>

<?php endforeach; ?>
<br>
Done.
<br><br/>
<div class="buttons">
<a href="<?php echo $this->officeUrl; ?>">Continue</a>
</div>